package com.waq.service;


import com.waq.pojo.User;
import com.waq.pojo.bo.UserBO;

public interface UserService {
    /**
     * 判断用户名是否存在
     */
    public boolean queryUsernameIsExist(String username);

    /**
     * 检查用户名和密码是否匹配
     * @param username
     * @param password
     * @return
     */
    public User queryUserForLogin(String username, String password) throws Exception;

    public User register(String username, String password, String position) throws Exception;
}
